package org.springblade.modules.admin.vo.sugar;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @Date 16:58 2025/8/28
 * @Description {
 *   电梯排期及保养工单数据汇总VO
 * }
 * @Author lsay
 **/
@Data
public class ElevatorByCollectVO {

	/**
	 * 未完成
	 */
	private Long unfinished;

	/**
	 * 已逾期
	 */
	private Long overdue;

	/**
	 * 逾期率
	 */
	private BigDecimal overdueRate;

	/**
	 * 即将逾期
	 */
	private Long futureOverdue;

	/**
	 * 及时
	 */
	private Long inTime;

	/**
	 * 及时率
	 */
	private BigDecimal inTimeRate;

	/**
	 * 平均作业时长
	 */
	private BigDecimal workTimeAve;

	/**
	 * 需整改保养单数
	 */
	private Long correlationZg;

	/**
	 * 保养整改出现率
	 */
	private BigDecimal correlationZgRate;

	/**
	 * 保养整改完成率
	 */
	private BigDecimal correlationZgFinishedRate;

	/**
	 * 保养整改完成率
	 */
	private BigDecimal correlationZgOnTimeRate;

	/**
	 * 趋势数据
	 */
	private Map<String,Object> trendData;

	public ElevatorByCollectVO() {
		this.unfinished = 0L;
		this.overdue = 0L;
		this.overdueRate = BigDecimal.ZERO;
		this.futureOverdue = 0L;
		this.inTime = 0L;
		this.inTimeRate = BigDecimal.ZERO;
		this.workTimeAve = BigDecimal.ZERO;
		this.correlationZg = 0L;
		this.correlationZgRate = BigDecimal.ZERO;
		this.correlationZgFinishedRate = BigDecimal.ZERO;
		this.correlationZgOnTimeRate = BigDecimal.ZERO;
	}
}
